<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
<input type="hidden" id="id" value="3">
你浏览量为<p></p>
<script src="jquery-2.1.4.min.js"></script>
<script>
    $(function(){
        //        alert(1);
        var id=$("#id").val();
        $.ajax({
            url:'num.php?id='+id,
            success:function(data)
            {
                $('p').html(data);
            }
        })
    })
</script>
</body>
</html>